package com.lh.controller;

import com.alibaba.fastjson.JSONObject;
import com.lh.service.SignReceiptService;
import com.lh.utils.Answer;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/signReceipt")
public class SignReceiptController {
    @Resource
    private SignReceiptService signReceiptService;

    @RequestMapping("/addSignReceipt")
    public Answer<Object> addSignReceipt(@RequestBody JSONObject reqJson) {
        return signReceiptService.addSignReceipt(reqJson);
    }
}
